import styles from '../wsy/styles/bo.module.css'
import {useNavigate} from 'react-router-dom'

const Bo=()=>{
    const navigate=useNavigate()
    return(
        <div>
            <div className={styles.header}>
            <div className={styles.bei}>

            </div>
            <div className={styles.successMessage}>预订成功</div>
            <div className="x" onClick={()=>navigate('/tan')}>
                x
            </div>
            </div>
        </div>
    )
}
export default Bo